//
// Created by edward on 23-5-17.
//

#ifndef PROCONNECT_TERMINAL_H
#define PROCONNECT_TERMINAL_H

#include "callback.h"
#include "utils.h"

#define MAX_TERMINAL_NUM 36

extern int terminalNum;
extern int id, controller_id;
extern int active_connect[MAX_TERMINAL_NUM];
extern int active_connect_len;
extern struct Socket sockets[MAX_TERMINAL_NUM]; //全局变量自动值初始化

void run();

#endif //PROCONNECT_TERMINAL_H
